home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
exams
/
vewd
/
vewdinst.bat
< prev
next >
Wrap
DOS Batch File
|
1995-04-07
|
1KB
|
52 lines
@echo off
if "%1" == "" goto getparm
if "%2" == "" goto getparm
if not "%3" == "" goto gotparm
:getparm
echo
echo Usage: VEWDINST source-drive destination-drive destination-path
echo Where source-drive is the location of the installation files,
echo Where destination-drive is the drive where VEWD will be installed, and
echo Where destination-path is where to install VEWD
echo Include the colon with the drive letter.
echo
echo Example: VEWDINST A: C: \HAM\VEWD
echo
goto fini
:gotparm
set src=%1
set dst=%2
set pth=%3
rem To select pkunzjr.com as unzipper, remove rem from front of next line.
rem set prg=pkunzjr -o
rem To select unzip.exe as unzipper, remove rem from front of next line.
set prg=unzip -o
mkdir %dst%%pth% >NUL:
%dst% >NUL:
cd %pth% >NUL:
mkdir data >NUL:
mkdir forms >NUL:
mkdir docs >NUL:
copy %src%form*.zip forms/v >NUL:
copy %src%emptydb.zip data/v >NUL:
copy %src%vewdman.zip docs/v >NUL:
%src%%prg% %src%vewd20e >NUL:
%src%%prg% data\emptydb >NUL:
cd docs
%src%%prg% vewdman vewdman.asc >NUL:
cd ..
echo
echo VEWD Version 2.0 has been installed
echo
goto fini
:fini
set src=
set dst=
set pth=
set prg=